package com.smartwebx.ha.dal.usebean;

import java.io.Serializable;
import java.util.Date;
import com.google.common.base.Objects;

/**
 * 库站防洪指标
 * 
 * @author XX
 * 
 */
public class RsvrFlood implements Serializable {
	private static final long serialVersionUID = 1L;

	// 站码
	private String stcd;
	// 坝顶高程
	private String damel;
	// 校核洪水位
	private String ckflz;
	// 设计洪水位
	private String dsflz;
	// 正常高水位
	private String normz;
	// 死水位
	private String ddz;
	// 兴利水位
	private String actz;
	// 总库容
	private String ttcp;
	// 防洪库容
	private String fldcp;
	// 兴利库容
	private String actcp;
	// 死库容
	private String ddcp;
	// 历史最高库水位
	private String hhrz;
	// 历史最高库水位出现时间
	private Date hhrzTm;
	// 历史最大入流
	private String hmxinq;
	// 历史最大入流还原时段
	private String rstdr;
	// 历史最大入流出现时间
	private Date hmxinqTm;
	// 历史最大蓄量
	private String hmxw;
	// 历史最大蓄量出现时间
	private Date hmxwTm;
	// 水库历史最大出流
	private String rhmxotq;
	// 水库历史最大出流出现时间
	private Date rhmxotqTm;
	//水库类型（1.小(二)型 2.小(一)型3.中型 4.大(二)型5.大(一)型 9.其它）
	private Integer rsvrtp;

	public Integer getRsvrtp() {
		return rsvrtp;
	}

	public void setRsvrtp(Integer rsvrtp) {
		this.rsvrtp = rsvrtp;
	}

	public String getStcd() {
		return stcd;
	}

	public void setStcd(String stcd) {
		this.stcd = stcd;
	}

	public String getDamel() {
		return damel;
	}

	public void setDamel(String damel) {
		this.damel = damel;
	}

	public String getCkflz() {
		return ckflz;
	}

	public void setCkflz(String ckflz) {
		this.ckflz = ckflz;
	}

	public String getDsflz() {
		return dsflz;
	}

	public void setDsflz(String dsflz) {
		this.dsflz = dsflz;
	}

	public String getNormz() {
		return normz;
	}

	public void setNormz(String normz) {
		this.normz = normz;
	}

	public String getDdz() {
		return ddz;
	}

	public void setDdz(String ddz) {
		this.ddz = ddz;
	}

	public String getActz() {
		return actz;
	}

	public void setActz(String actz) {
		this.actz = actz;
	}

	public String getTtcp() {
		return ttcp;
	}

	public void setTtcp(String ttcp) {
		this.ttcp = ttcp;
	}

	public String getFldcp() {
		return fldcp;
	}

	public void setFldcp(String fldcp) {
		this.fldcp = fldcp;
	}

	public String getActcp() {
		return actcp;
	}

	public void setActcp(String actcp) {
		this.actcp = actcp;
	}

	public String getDdcp() {
		return ddcp;
	}

	public void setDdcp(String ddcp) {
		this.ddcp = ddcp;
	}

	public String getHhrz() {
		return hhrz;
	}

	public void setHhrz(String hhrz) {
		this.hhrz = hhrz;
	}

	public Date getHhrzTm() {
		return hhrzTm;
	}

	public void setHhrzTm(Date hhrzTm) {
		this.hhrzTm = hhrzTm;
	}

	public String getHmxinq() {
		return hmxinq;
	}

	public void setHmxinq(String hmxinq) {
		this.hmxinq = hmxinq;
	}

	public String getRstdr() {
		return rstdr;
	}

	public void setRstdr(String rstdr) {
		this.rstdr = rstdr;
	}

	public Date getHmxinqTm() {
		return hmxinqTm;
	}

	public void setHmxinqTm(Date hmxinqTm) {
		this.hmxinqTm = hmxinqTm;
	}

	public String getHmxw() {
		return hmxw;
	}

	public void setHmxw(String hmxw) {
		this.hmxw = hmxw;
	}

	public Date getHmxwTm() {
		return hmxwTm;
	}

	public void setHmxwTm(Date hmxwTm) {
		this.hmxwTm = hmxwTm;
	}

	public String getRhmxotq() {
		return rhmxotq;
	}

	public void setRhmxotq(String rhmxotq) {
		this.rhmxotq = rhmxotq;
	}

	public Date getRhmxotqTm() {
		return rhmxotqTm;
	}

	public void setRhmxotqTm(Date rhmxotqTm) {
		this.rhmxotqTm = rhmxotqTm;
	}

	@Override
	public int hashCode() {
		return Objects.hashCode(super.hashCode(), stcd, damel, ckflz, dsflz,
				normz, ddz, actz, ttcp, fldcp, actcp, ddcp, hhrz, hhrzTm,
				hmxinq, rstdr, hmxinqTm, hmxw, hmxwTm, rhmxotq, rhmxotqTm,rsvrtp);
	}

	@Override
	public boolean equals(Object object) {
		if (object instanceof RsvrFlood) {
			if (!super.equals(object))
				return false;
			RsvrFlood that = (RsvrFlood) object;
			return Objects.equal(this.stcd, that.stcd)
					&& Objects.equal(this.damel, that.damel)
					&& Objects.equal(this.ckflz, that.ckflz)
					&& Objects.equal(this.dsflz, that.dsflz)
					&& Objects.equal(this.normz, that.normz)
					&& Objects.equal(this.ddz, that.ddz)
					&& Objects.equal(this.actz, that.actz)
					&& Objects.equal(this.ttcp, that.ttcp)
					&& Objects.equal(this.fldcp, that.fldcp)
					&& Objects.equal(this.actcp, that.actcp)
					&& Objects.equal(this.ddcp, that.ddcp)
					&& Objects.equal(this.hhrz, that.hhrz)
					&& Objects.equal(this.hhrzTm, that.hhrzTm)
					&& Objects.equal(this.hmxinq, that.hmxinq)
					&& Objects.equal(this.rstdr, that.rstdr)
					&& Objects.equal(this.hmxinqTm, that.hmxinqTm)
					&& Objects.equal(this.hmxw, that.hmxw)
					&& Objects.equal(this.hmxwTm, that.hmxwTm)
					&& Objects.equal(this.rhmxotq, that.rhmxotq)
					&& Objects.equal(this.rhmxotqTm, that.rhmxotqTm)
					&& Objects.equal(this.rsvrtp, that.rsvrtp);
		}
		return false;
	}

	@Override
	public String toString() {
		return Objects.toStringHelper(this).add("super", super.toString())
				.add("stcd", stcd).add("damel", damel).add("ckflz", ckflz)
				.add("dsflz", dsflz).add("normz", normz).add("ddz", ddz)
				.add("actz", actz).add("ttcp", ttcp).add("fldcp", fldcp)
				.add("actcp", actcp).add("ddcp", ddcp).add("hhrz", hhrz)
				.add("hhrzTm", hhrzTm).add("hmxinq", hmxinq)
				.add("rstdr", rstdr).add("hmxinqTm", hmxinqTm)
				.add("hmxw", hmxw).add("hmxwTm", hmxwTm)
				.add("rhmxotq", rhmxotq).add("rhmxotqTm", rhmxotqTm).add("rsvrtp", rsvrtp).toString();
	}

}
